<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="keywords" content="<?php echo $SEO['keyword'];?>" />
<meta name="description" content="<?php echo $SEO['description'];?>"/>
<title><?php if(isset($SEO['title']) && !empty($SEO['title'])) { ?><?php echo $SEO['title'];?><?php } ?><?php echo $SEO['site_title'];?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">
<link rel="icon" href="<?php echo SKIN_PATH;?>favorite.ico">
<link rel="stylesheet" href="<?php echo SKIN_PATH;?>css/jquery.bxslider.min.css">
<link rel="stylesheet" href="<?php echo SKIN_PATH;?>css/main.min.css">
<script src="<?php echo SKIN_PATH;?>js/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo SKIN_PATH;?>js/jquery.superslide.2.1.1.js"></script>
<script type="text/javascript">
　$(document).ready(function() {
    var w=document.body.clientWidth;
    $("#Slideshow").css("height",w*500/1920+"px");
});
</script>
</head>
<body>
<div class="l-header">
    <div class="l-top">
        <div class="container">
           <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=021f36bf43bdee5b153006ed400f80f3&action=getOne&fields=thumb&where=id+eq+1&name=news&limit=1&return=r_logo\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'getOne')) {$r_logo = $content_tag->getOne(array('fields'=>'thumb','where'=>'id eq 1','name'=>'news','limit'=>'20',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
            <img class="header-top--logo item" src="<?php echo $r_logo['thumb'];?>">
            <span class="header-top--divider item"></span>
            <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=39f2c55f50377256dfcd825bc36eb461&action=getOne&fields=content&where=id+eq+1&name=news_data&limit=1&return=r_logo1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'getOne')) {$r_logo1 = $content_tag->getOne(array('fields'=>'content','where'=>'id eq 1','name'=>'news_data','limit'=>'20',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
            <div class="header-top--slogan item">
                 <?php echo $r_logo1['content'];?>
            </div>
            <div class="header-top--qrcode item">
            <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=d2fce2d474f1d405c86193b4702e5198&action=getOne&fields=thumb&where=id+eq+2&name=news&limit=1&return=r_wechat\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'getOne')) {$r_wechat = $content_tag->getOne(array('fields'=>'thumb','where'=>'id eq 2','name'=>'news','limit'=>'20',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                 <img class="qrcode" src="<?php echo $r_wechat['thumb'];?>" width="98px;" height="98px;">
                 <p class="prompt">扫一扫直接联系销售</p>
            </div>
            <div class="header-top--support-hotline item">
                 <p class="prompt">咨询热线</p>
                 <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=fc34dc5444258ce577d8499234a49180&action=getOne&fields=content&where=id+eq+3&name=news_data&limit=1&return=r_hot\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'getOne')) {$r_hot = $content_tag->getOne(array('fields'=>'content','where'=>'id eq 3','name'=>'news_data','limit'=>'20',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
                 <p class="phone"><?php echo $r_hot['content'];?></p>
            </div>
        </div>
    </div>
    <div class="l-bottom">
        <div class="container">
        <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=40aa330ade871503bef0fb3b447781a9&action=category&catid=0&siteid=%24siteid&num=8&return=r_cat\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'category')) {$r_cat = $content_tag->category(array('catid'=>'0','siteid'=>$siteid,'limit'=>'8',));}?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
             <ul class="header-bottom--nav">
                 <li class="item <?php if($catid == "") { ?>is-active<?php } ?>">
                     <a href="<?php echo WEB_PATH;?>" target="_self" >网站首页</a>
                 </li>
                <?php $n=1;if(is_array($r_cat)) foreach($r_cat AS $r) { ?>
                 <li class="item <?php if($catid == $r['catid']) { ?>is-active<?php } ?>">
                     <a href="<?php echo $r['url'];?>" target="_self" title="<?php echo $r['catname'];?>"><?php echo $r['catname'];?></a>
                 </li>
                <?php $n++;}unset($n); ?>
            </ul>
            <!-- partials--search -->
            <form name="form1" id="form1" class="partials--search" action="index.php">
                <input type="hidden" name="m" value="search"/>
                <input type="hidden" name="c" value="index"/>
                <input type="hidden" name="a" value="init"/>
                <input type="hidden" name="typeid" value="<?php echo $typeid;?>" id="typeid"/>
                <input type="hidden" name="siteid" value="<?php echo $siteid;?>" id="siteid"/>
                <input type="search" name="q" placeholder="请输入关键词搜索" value="" >
                <button type="submit">搜索</button>
            </form>
        </div>
    </div>
</div>